package com.nbot.server.mapper.master;

import com.nbot.server.domain.NotifyDO;
import com.nbot.server.domain.NotifyDTO;

import java.util.List;
import java.util.Map;

public interface NotifyMapper {

    NotifyDO get(Long id);

    List<NotifyDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(NotifyDO notify);

    int update(NotifyDO notify);

    int remove(Long id);

    int batchRemove(Long[] ids);

    List<NotifyDO> listByIds(Long[] ids);

    int countDTO(Map<String, Object> map);

    List<NotifyDTO> listDTO(Map<String, Object> map);
}
